import { RequestServerClass } from '@/api/axios/request'

export default class UserServer {
    constructor(opt, axiosFilterFn) {
        this.rService = new RequestServerClass(opt)
        axiosFilterFn.call(this, this.rService.serverObj)
    }

    // 获取用户列表
    getUserList(opt) {
        const url = '/user/getUserList'
        return this.rService.serverObj.post(url, opt)
    }
}
